import {SAVE_RUN_TARGET_SELECTED_ARR} from "./constants";

const defaultState = {
  runTargetSelectedArr: []
};

export default function reducer(state = defaultState, action) {
  switch (action.type) {
    case SAVE_RUN_TARGET_SELECTED_ARR :
      return {...state, runTargetSelectedArr: action.runTargetSelectedArr};
    default:
      return state;
  }
}